<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>CircleDrawing</title>
  <style>
    body {
      margin: 0;
      background: #eee;
    }
    #canvas {
      display: block;
      margin: auto;
      width: 100%;
      background: #fff;
    }
    #path {
      display: block;
      width: 100%;
      box-sizing: border-box;
    }
  </style>
</head>
<body>
  <div class="player">
    <canvas id="canvas" height="1080" width="1920"></canvas>
  </div>
  <div class="actions">
    <textarea id="path" rows="10">M701.9,104.4l21.9,27c7.4-9.9,8.9-23.5,2.6-33.5c-11.7-18.4-23.7-36.6-34.6-55.4c-1.9-3.3-6.8-6.8-9.2-8.9 c0,0-18,18-15.4,25.7c-2.6-5.1,9.5-17.1,14.2-25.7l-0.8-2.5c-3.8-1.9-8.2-2.8-13.4-2.8c-11.4-0.1-11.8,9.8-15.1,15.8 c-11.9,21.9-21.9,44.8-34.1,66.6c-1.4,2.5-2.8,4.9-3.9,7.2l-2,1.3c-0.9-0.9-2.2-2.2-2.7-3.3c-12.2-24.3-24-48.9-50.3-61.7 c-10.7,6.4-21.4,12.8-32.1,19.3L559,54.2c0,0,30.9,15.4,48.9,59.2c7.7,10.3,3.1,19,6.1,24.6c4.1,7.5,4.4,17.4,8.4,24.6l2.1,4.8 c2.1,15.4,4.1,30.9,6.5,46.3c2.3,15.1,12.9,69.2,12.9,69.2c9.8,7,19.7,13.9,29.5,20.9l0.9,5c-1,15.1-2.7,30.2-1.8,45.2 c1.2,19.5,0.1,38.6-7.1,56.5c-7.8,19.4-26.8,26.9-43.7,35.8c-2.8,1.5-7.9-1.7-12.9-2.9c3.7-8,6.4-14,9.2-19.9 c0,0-10.3,27-15.4,34.7c2.6-5.1,2.6-7.7,5.1-15.4c-1.3,7.7,18,41.2,18,41.2c-10.3-3.9-23.2-5.1-23.2-25.7 c-5.1,10.3-20.6,25.7-20.6,25.7c2.1-6.3,7.6-21.9,9.6-27.5c0,0,8.4-36.8,11-54.8c2.6-18-2.6-48.9-2.6-48.9 c0.9,14.6,3.4,29.3,2.1,43.7c-1.6,18.2-6.7,38.6-9.9,56.7l-2.4,2.9c-13.7,8.6-38.8,17.7-38.8,17.7c9.7,2.9,19.5,5.8,18,15.4 c-0.8,5.6-1.7,11.2-2.6,16.7c0,0,0-3.9-2.6-10.3c-2.6-6.4-9.7-13.5-14.8-20.6c-8.2,2.4-16.6,4.9-25.7,7.3l-1.1,7.2v4.6 c7.7,11.6,15.4,23.2,23.2,34.7l2.6,3.9c11.1,1.2,16.3,11.3,20,18.3c20.5,39.3,39.3,79.4,58.4,119.4c8.8,18.4,15.6,37.5,20.6,57.1 l-1.3,4.6c-10.3,11.6-20.3,23.5-31,34.7c-16,16.7-33.3,17.9-55.3,1.4c-3.7-2.8-7.7-5.2-11.6-7.7c0,0,23.2,21.9,43.8,19.3 c20.6-2.6,56.6-51.5,56.6-51.5c0.7,3.1,1.7,12.4,2.3,15.5c0.8,4-0.1,9.7-2.6,12.6c-9.7,11.2-19.5,22.8-30.9,32.1 c-10.3,8.3-22.7,16-37,9.1c-8.6-4.1-15.8-11.6-24.7-14.8c-9.3-3.4-10.3-9.2-10.2-17.1c0.1-3.4,0.5-8.7-1.4-10 c-7.7-5.2-6-12.5-6.2-19.6c-0.4-11.2-0.2-22.4-1.4-33.4c-2.6-25.3-5.1-50.8-9.1-75.9c-2.8-17.3-1.9-40.7-4.9-57.9 c0,0,10.3,0,20.6-5.1c10.3-5.1,15.4-16.7,15.4-16.7c-8.3,11.8-19.5,19.4-33.5,23.2l-2.5,0.1c-0.6-2.7-1.3-5.3-2.3-7.9 c-1-2.9-0.6-8.8,2.2-11.5c6.2-5.8,16.3-12.9,23.2-18L521.3,552c-5.6-12.4-11.2-24.9-16.7-37.3l-30.9,30.9l-10.3-18 c0,0-4.6,5.8-15.4,7.7c-10.8,1.9-18-12.9-18-12.9c-3,5.2-5.9,16.8-9.3,22.7c-3.9-7.1-11.1-22.2-14.8-28.7l14.8,28.7l9.3-22.7 l7.6,9.7c-6.4,22.3-14.3,47.7-20.4,70.1c-4.6,16.6-9.6,33.3-12.6,50.2c-2,11.4,1.7,23.6-6.7,36.1c12.7,1.4,23.1,2.6,33.4,3.7 l-32.2-2.6c1.3,5.8,19.3,54.6,34.8,71.9c6.3-10.3,13.4-19.3,17.6-29.5c7.7-18.8,16.4-37.2,14.8-59.1c-3-39.4-3.6-78.9-5.6-118.4 c-0.3-6.5-2.4-12.9-3.7-19.3l5.1-6.4c-14,10.6-20.4,9.6-33.2-6.5c5.4-5.5,11-11.1,16.5-16.7l3.9-6.4c0.4,3-0.2,7.8,1.4,8.7 c13.5,7.4,12.3,23.4,20.4,33.7l2.6,3.9c15-16.7,29.7-33.7,45.2-50c2-2.1,2.8-4.1,3.3-6.1l1.5-7.1c-17.5,4.6-40.5,9.8-67.7,13.7 c-4.5,0.7-73.7-12.5-79.7-13.3c0,0-5.1-11.6-7.7-11.6c-2.6,0-12.9,2.6-12.9,2.6c-20.6-10.3-41.1-22.3-48.9-38.6l18,20.6 c-6.1,7.4-4,13.5,0.4,17.5c4.4,4,12.7,5.9,18.8,5.2c9.1-1.1,17.8-5.4,26.6-8.4c7.9,19.8,5.2,24.6-13.7,26.9 c-2.6,0.3-5.1,1.8-7.7,2.5c-17.2,4.4-31.3-3.1-35.8-20.6c-2.8-10.8-2.8-22.2-4.1-33.4l-3.9-11.6l-5.1-6.4 c-8.7-11.1-2.2-21.6,1.3-32.2c0,0-12.1-39.2-18-70.8c-5.9-31.5-1.3-70.8-1.3-70.8c-4,31.2-3.8,62.1,5,92.7 c7.1,24.4,16.9,47.6,29.7,69.5l1.3,2.6c7.2,2.9,6-4.1,6.2-6.5c1.4-15.8,1.1-31.8,3-47.6c2.6-21.5,6.7-42.9,10.1-64.4 c0,0,0-27,0-65.6s15.4-81.1,15.4-81.1c-4.7,16.7-10.9,33.2-13.7,50.3c-2.5,15.5-1.8,31.7-1.6,47.5c0.2,15,1.6,30,2.4,45l2.6,2.6 c5.1,13.3,10.3,26.6,15.4,39.9l-1.3,10.3c-1.3,6.9-2.6,13.7-3.9,20.6c-2.1,11.6,8.3,29.6,23.2,27.3c8.7-1.3,14.1-6.1,15-13.2 c1.5-11.4,1.3-23.2,0-34.7c-0.7-6.6-5.7-11.9-13.8-11.6c-8.4,0.3-17.3-0.4-20.6,10.3l7.7-10.3c1.3-19.3,5.1-67.8,6.4-72.1l27,9 c-8.5-3.6-17-7.1-27-11.3c0-1.5-0.4-4.2,0.1-6.7c7-39.7,14.1-79.5,29.5-117.1c5.2-12.7,14.3-24.7,9.1-39.9l1.3,24.4 c22.4,155.5,80.4,207.5,98.9,216.1l5.3,2.6c-2.5,11-6.5,21.7-2.8,33.5c2.7,8.4,12.4,20.4,20.8,20c4.4-0.2,10-4.6,12.6-8.7 c8.2-12.9,7.6-27.4,2.6-40.9c-5.2-13.8-19.4-15.5-33.2-5.3l-4.8-1.8c-13.9-11.2-43.2-73.7-33.6-151.4c0.3-9.2,2.8-18.3,4.3-27.4 c1,0,1.9-0.1,2.9-0.1c0.9,1.9,2.6,3.7,2.7,5.7c3.1,34,16.4,64.9,33.3,93.4l-1,1.8c-8.1,3.9-16.3,7.7-24.4,11.6l25.7-12.9 c20.5,33.7,49.8,65.6,80.2,90.9c10,8.4,13.3,19.4,20.4,28.6c8.9,11.5,3.5,21.5,0,32.4c-1.1,3.5-1.7,9.7,0.1,11.1 c3.6,2.8,9.4,4.6,13.8,3.9c6-0.9,6.6-6.7,6.6-12.5c-0.2-33.5,0.2-66.9-0.2-100.4l1.3-31l32.2,20.7c0,0,0-23.2-7.9-77.2 c-0.9-6.2-2.8-13.1-6.5-17.9c-11-14.2-23.8-27-34.6-41.4c0,0,23.3,27.6,33.5,38.6c4.5-16.7-7.3-38.2-7.3-38.2l-0.5-0.4 c-5-8.6-12.2-18.9-18.1-26.9c-4.3-5.7-3.6-11.3-1.1-16.8c8.7-18.6,17.3-37.3,27.3-55.2c3-5.4,10.3-8.5,16.7-13.5 c10.4,13.9,17.3,30.9,23.4,46.2c0,0-22.4-21.3-30.1-18.7c-10.3,2.6-23.2,36-23.2,48.9c2.6,10.3,5.5,33.6,5.5,33.6 c3.4-10.9-2.6-20.7-4.4-31c-1.4-7.7-2.7-14.4,3.8-20.8c3-3,3.4-8.5,5.4-12.6c3.3-6.7,3.5-15.3,12.8-18.1 c9.1-2.7,11.7,5.3,16.7,9.2c4,3,7.7,6.3,11.6,9.5C699.3,102.2,700.6,103.3,701.9,104.4c0,0,8.8,11.8,13,16.6 c28.3,32.6,48.7,70,68.1,108.2c20.9,41.4,39.9,83.6,51.4,128.7c7.5,29.4,14.3,59.1,20.5,88.8c5.1,24.3,9,48.8,12.9,73.3 c1.6,9.8,1.9,19.7,2.7,29.6c1,13.3,1.9,26.6,2.6,39.9c1,18.4,2.5,36.9,2.4,55.3c-0.1,26.2,0,52.5-2.7,78.5 c-4.8,46-20.2,115.8-69.1,162.2c-0.3-4.3,20.6-46.3,33.5-82.4c3.6-19.7,12.9-60.5,12.9-60.5c-5.6,35-12.6,69.6-28.4,101.6 c-22.9,46.6-79.7,87.5-117.4,94c-11.2-29.6-2.2-123.5-2.2-123.5c-1.7,14.2-3.9,65.6-22,77.2c-0.1-1.3-3.4-33.5-5-50.2 c-3.5-36.9-7.9-73.7-10.1-110.7c-3.5-58.1,3.1-115.9,7.6-173.7c2.6-33.1,8.8-66,9.6-99.1c1.2-45-1.2-90.1-2.2-135.1 c0-1.3-1.6-2.6-2.5-3.9l-2.6-15.4l-30.8-20.9l-19.4-115.5l-12.9-48.9l25.7-47.6c-16.7-9-33-19.2-50.3-26.8 c-31-13.6-63-24.5-97.7-23.5c-13.7,0.4-27.5,0.2-41.2,0c-30.7-0.3-60.4,5-86.8,20.7c0,0,13.4,16.2,19.8,23.1l-19.8-23.1 c-1.8,1.1-5.6,3.6-7.3,4.9c-4.1,2.8-10.1,2.8-15.3,4.1l5.1,2.6c-0.7,0.6-3.7,3.3-4.4,4l-1.6-1.4c0.2-0.1,2-1.2,2.2-1.3 c3.8-2.1-2.4-6.2-2.6-6.4c-2.6-3.9-9.6-10.7-12.7-16.8c-6.7-13.4-22.7-14.2-32.1-1c-12.6,17.7-23.5,36.7-34.9,55.2 c-1.4,2.2-1.8,5.1-2.6,7.7c0,0,12.9,0,18-5.1c5.1-5.1,12.9-10.3,12.9-10.3c12.9-6.4,25.7-12.9,38.6-19.3v-5.1 c-2.6-4.3-5.1-8.6-7.7-12.9c-3.4-5.6-6.8-5.6-10.3,0c-7.3,11.6-15.1,22.9-21.7,34.8c-5.8,10.6-14.7,15.8-25.9,17.9 c-6.7,1.3-12.2,3.3-11.6,11.6c0.1,0.9,0.4,2.1,0,2.5c-19.6,20.2-22.8,48.6-35.5,72.4c-19.7,37.1-37.3,75.4-46.8,116.8 c-6.1,26.6-12.5,53.1-17.9,79.8c-4.1,20.4-7.1,41.1-10.4,61.7c-2.7,16.3-6.6,32.5-7.5,48.9c-2.5,44.6-4.8,89.2-5,133.8 c-0.1,23.2,5.8,46.3,7,69.5C134,732.8,169.2,843,169.2,843c3-11.6,7.6-29.2,10.6-40.7l-11.8-31.3c11.1,36,31.6,66.6,55.4,95.2 c0.4,0.4,1.7,0.1,2.5,0.1l70.8-75.9c-30.9,33.5-61.7,66.9-92.7,100.4c-17.5,18.9-38.1,33.8-60.4,46.4c-2.4,1.3-4.4,3.2-7.5,5.5 c6.1,7.6,12.1,14.9,19.1,23.5c17-13.7,32.9-26.6,48.9-39.4l-23,18.5c4.1,5.7,10.6,13.5,15.3,19.8c3.3-6,6-11.4,9-16.5 c10.6-17.6,19.6-36.7,32.5-52.5c25.7-31.1,54.5-62.3,81.5-92.3l-76.9,86.8c13.8,17.1,33.1,34.2,55.7,42.2c0.4-3.8,0.8-6.9,1-10 c1.7-24.4,2.7-49,5.6-73.3c1-8.7,5-19.6-0.2-28.4c0,0,11.3-15,14.8-17.5c16.9,9.6,30.8,4.2,30.8,4.2c-7.1,2.4-13,1.4-22.6-0.1 c0,0,0.8,13.6-0.3,24.4c-1.1,10.8-7.5,18.7-7.5,18.7c9.8-12.8,7.4-27.9,7.7-43.2c-21.9-9.5-37.7-26-48.7-47 c-5.1-9.7-6.9-20.4,2.4-29.5c0,0,16.2-62.7,30.8-88.5c0.1-0.2-15.4,37.2-21.1,55.8c-5.4,17.7-5.6,29.7,2.2,42.6 c14.2,23.3,31.3,44.6,57.9,55.4c5.9,13.6,21.3,14,31,22.8c9.2,8.4,20.6,2.8,21.5-8.6l1.3-2.6c0.6-2.1,1.8-5.1,2.4-7.3 c0,0-29-4.9-42.3-31.3c10.4,14.6,19.3,19.3,19.3,19.3c9.9,0.4,9.9-8.4,12.8-14.2c7.1-14,13.8-28.3,20.7-42.4l-26.3,55l-0.9,7.5 c4.9,2.2,16.6,5.9,16.6,5.9c5.2-17.2,10.5-34.4,15.7-51.6l-12.2,43.3c14.2,0.9,30.6,4.5,44.3,2.2c9.9-1.7,18.6-6.5,28.6-0.7 c1.6,0.9,6-0.8,7.3-2.5c0.3-0.4,0.4-1,0.5-1.7l28.2-22.5c-8.6,6.9-17.2,13.7-25.7,20.6l-2.5,1.7c-0.3-1.4-0.8-4.5-1.4-5.5 c-7.6-13.9-16.8-30.1-24.5-43.9v4.2l-5,47.4c1.3-16.3,3.7-31.1,5-47.4l0.3-4.1c-2.6-4.7-5.2-9.4-7.9-14.1c0,0,29,48.1,32.1,58 s-2.6,9.8-2.6,9.8c4.1,2.5,9.5,8.3,13.2,10.6c7-6.5,13.2-13.3,19.2-18.9c0,0-7.2-21,17.9-33.6c-17.3,8.7-19.3,19.4-17.8,33.3 c0,0,19.5-1.5,28.1-2.4l-28.1,2.7c0.1,0.5,0.9,6.3,1.3,8.8c0.6,3.4,4.8,8.6,7.4,8.6c13.6,0.1,17.9,11.5,38.6-9.9 c-0.9,7.7-18,12.9-18,12.9c1.3,4.7,3.4,9.4,3.6,14.2c0.2,5.1,0.2,11.8-2.7,15.1c-8.1,9.4-18.7,15.1-31.8,14.5 c-11.1-0.5,12.3,0.5-33.5-1.3c29.5,2.3,54.4,5.5,67.6-19c0.8,2.6,6.3,12,6.8,16.4c3.7,33.9,7,67.8,10.5,101.6 c0.1,0.8,0.1,1.7,0,2.6c-1.4,11.6-26.5,31.7-38.6,30.9c-16.2-1.1-26.9-14.8-28.6-32.1c-2-19.9-5.6-39.7-10.3-59.1 c-3.4-14.1-11.4-27.1-8.9-42.6c0.6-3.6-1.7-11.3-2.6-15.2c0,0,38.1,17.1,68.4-11.8c-3.3,10.7-34.6,18.4-55.3,16.8 c-13.1-1-16.1-5.5-16.6-19.7c0,0,42.2,9.2,46.2-13.8c-4.7,20.6-30.3,15.5-47.6,13.7c-8.5-1.2-9.3,1.1-12.4,3l-9.6-19.3 c3,6.4,9.6,19.3,9.6,19.3c-6.2,7.2-29,12.7-37.9,9.1c-7.7-3.1-17.1-5.9-23.6-10.1l26.1,11.4c-5,3.8-8.8,8.4-12.7,8.6 c-16.4,0.7-34.9,6.9-50.5-3.7l-5.8-27.7c2.5,11.8,5.7,29.5,10.4,40.6c1.7,4.1,8,8.4,12.5,8.8c18.7,1.6,41.5,0.3,56.4-15l-3.7-10.4 c2.1,6.4,4.9,12.7,6.3,19.3c3.8,17.9,7.2,36,10.3,54c1.9,11.5-3.5,23.8,4,34.7c-8.8,12.9-12.6,28.9-28.1,37.7 c-11,6.2-19.3,1.8-28.5-1.7c-9.9-3.7-9.3-12.1-9.1-20.6c0.3-9,1.8-18.5-0.3-26.9c-5.4-21.3-12.6-42.1-18.8-63.2 c-0.8-2.7-0.7-12.4-0.2-15.4c0,0-11.2-27.4-11.9-43.9c-3.2,1.1-6.4,1.4-7.1,1.8c-0.1-5.3-0.7-24.7,1.7-30.1L324,753.1l-6,24.1 c3-12,6-24,9-36l-2.6,11.6c9,7.7,19,16.8,28,24.6c0,0,9.4-14.3,2.8-20.7c-6.7-6.6-13.3-13.4-20.7-19.2c-7.6-6-8.9-13.7-7.4-22 c1.2-7,3.9-13.8,6.3-20.6c11.5-32.6,22.3-65.5,35-97.7c8.9-22.6,15.5-46.9,32.2-65.5c-0.9-0.1,9.1-16.8,4-41.2 c-0.1,4.2-1.9,9.6-6,14.5c-9.1,11.2-17.4,23-25.6,34.9l-0.1,1.8c3.4,3.4,7.7,8.4,11.2,11.8l-12.2-12.9c-2.9,4.2-9.7,14.8-12.6,19 l17.1,13.2c0,0-13.3-11-20.5-15.7c-14.2,15.3-34.4,69.1-43,84.3l-0.8,0.4l-1.3-2.1c-2.1-4.3-5.4-8.4-6.3-12.9 c-4.7-23.5-9-47.1-13-70.7c-4.6-27.7-8.7-55.5-12.9-83.3c1.2-0.8,2.5-1.5,3.7-2.3c3.4,2.1,6.8,4.1,10.3,6.3 c1.4-16.4,2.7-32.3,4-48.2l-14.2,42.5c-16.5-25.9-26.9-54.1-35-83.6c-8.1-29.7-9.8-59.7-8.7-90.1c0.4-11.6-0.5-23.4,1.6-34.7 c4.1-22.1,10-43.8,15.1-65.7l-19.3,78.5c-3.4,8.1-7.5,16.1-10.1,24.5c-4,12.7-7,25.7-10.4,38.6l-1.3-15.4 c-0.9-3.4-2.3-6.8-2.5-10.3c-2.7-42.3,6.7-82.2,23-121c20.2-48.1,46.6-91.4,90.1-122.3c5.3-3.8,10.1-8.3,14.9-12.7l-1.6-1.4 c-22.5,13.7-45.2,45-51.8,45c-10.3,0-30.9,2.6-46.3,0c-15.4-2.6-23.2,7.7-43.8-2.6S173,67.1,183.3,56.8 c10.3-10.3,23.2-10.3,28.3-2.6s2.6,20.6-2.6,23.2c-5.1,2.6-9-3.9-9-3.9c4.3,7.7,11.2,3.3,12.3-0.2c1.8-5.8,1.4-13.5-1.1-18.9 c-3.5-7.4-12.8-7.1-18.7-4.8c-5.7,2.2-12.3,8.1-13.9,13.8c-4.6,16.4,3.4,29.6,20.2,34.4c9,2.6,17.4,7.4,28.5,3.5 c7.7-2.7,17.8,1.6,26.8,1.7c6.9,0.1,13.7-1.5,20.6-2.4c3.9-0.5,7.7-0.9,11.6-1.3l-19.3,5.1c-3,4.7-6.3,9.3-8.9,14.2 c-3.2,6-6,12.3,2.5,16.7l-10.3,20.6c-6-6-12-12-18-18l18.9,19c0,0,82.3-155,221.8-136c66.7-0.9,122.4,27.5,164.6,50 c3.9,2.1-29.1,47-25.4,48.9c3.2,15.7,5.3,34,12.5,47.6c11.2,12.4,19.9,23,34.7,38.6c3.1-9.7-14.1-66.7-12.7-78.7 c1-8.4,16.2-35.3,19.4-42.8C678.5,78.4,701.9,104.4,701.9,104.4z</textarea>
    <button id="run">Run</button>
    <button id="save" disabled>Save</button>
    <button id="play" disabled>Play</button>
  </div>
  <script src="./lib/parser.js"></script>
  <script src="./lib/renderer.js"></script>
  <script src="./main.js"></script>
</body>
</html>